{% extends "page.html" %}

{% block content %}
      <h1>Registered accounts:</h1>
      <table>
         <tr><th>Username</th><th>Verified</th><th>Action</th><th>Mail</th></tr>
         {% for account in accounts %}
         <tr>
            <td>{{ account.username }}</td>
            <td>{% if account.verified %}Yes{% else %}No{% endif %}</td>
            <td><a href="/account/delete?key={{ account.key }}">Delete</a></td>
            <td><a href="/account/mail?key={{ account.key }}">Mail</a></td>
         </tr>
         {% endfor %}
         <tr><td colspan="2">&nbsp;</td><td><a href="/account/register">Add</a></td></tr>
      </table>
{% endblock content %}
